package com.lagou.mapper;

import com.lagou.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    boolean registerUser(User user);

    String isRegistered(String email);

    int queryUserId(String email);

    String queryEmailByUserId(int userId);
}
